
package fr.afcepf.hotels.soa.facade;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for voiture complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="voiture">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="categorievoiture" type="{http://facade.soa.hotels.afcepf.fr/}categorieVoiture" minOccurs="0"/>
 *         &lt;element name="idHotel" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="idImmatriculation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="lienImage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="marque" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="modele" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="nbPlaces" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="nbPortes" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="reservationvoitures" type="{http://facade.soa.hotels.afcepf.fr/}reservationVoiture" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "voiture", propOrder = {
    "categorievoiture",
    "idHotel",
    "idImmatriculation",
    "lienImage",
    "marque",
    "modele",
    "nbPlaces",
    "nbPortes",
    "reservationvoitures"
})
public class Voiture {

    protected CategorieVoiture categorievoiture;
    protected int idHotel;
    protected String idImmatriculation;
    protected String lienImage;
    protected String marque;
    protected String modele;
    protected int nbPlaces;
    protected int nbPortes;
    @XmlElement(nillable = true)
    protected List<ReservationVoiture> reservationvoitures;

    /**
     * Gets the value of the categorievoiture property.
     * 
     * @return
     *     possible object is
     *     {@link CategorieVoiture }
     *     
     */
    public CategorieVoiture getCategorievoiture() {
        return categorievoiture;
    }

    /**
     * Sets the value of the categorievoiture property.
     * 
     * @param value
     *     allowed object is
     *     {@link CategorieVoiture }
     *     
     */
    public void setCategorievoiture(CategorieVoiture value) {
        this.categorievoiture = value;
    }

    /**
     * Gets the value of the idHotel property.
     * 
     */
    public int getIdHotel() {
        return idHotel;
    }

    /**
     * Sets the value of the idHotel property.
     * 
     */
    public void setIdHotel(int value) {
        this.idHotel = value;
    }

    /**
     * Gets the value of the idImmatriculation property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIdImmatriculation() {
        return idImmatriculation;
    }

    /**
     * Sets the value of the idImmatriculation property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIdImmatriculation(String value) {
        this.idImmatriculation = value;
    }

    /**
     * Gets the value of the lienImage property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getLienImage() {
        return lienImage;
    }

    /**
     * Sets the value of the lienImage property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLienImage(String value) {
        this.lienImage = value;
    }

    /**
     * Gets the value of the marque property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMarque() {
        return marque;
    }

    /**
     * Sets the value of the marque property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMarque(String value) {
        this.marque = value;
    }

    /**
     * Gets the value of the modele property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getModele() {
        return modele;
    }

    /**
     * Sets the value of the modele property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setModele(String value) {
        this.modele = value;
    }

    /**
     * Gets the value of the nbPlaces property.
     * 
     */
    public int getNbPlaces() {
        return nbPlaces;
    }

    /**
     * Sets the value of the nbPlaces property.
     * 
     */
    public void setNbPlaces(int value) {
        this.nbPlaces = value;
    }

    /**
     * Gets the value of the nbPortes property.
     * 
     */
    public int getNbPortes() {
        return nbPortes;
    }

    /**
     * Sets the value of the nbPortes property.
     * 
     */
    public void setNbPortes(int value) {
        this.nbPortes = value;
    }

    /**
     * Gets the value of the reservationvoitures property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the reservationvoitures property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getReservationvoitures().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ReservationVoiture }
     * 
     * 
     */
    public List<ReservationVoiture> getReservationvoitures() {
        if (reservationvoitures == null) {
            reservationvoitures = new ArrayList<ReservationVoiture>();
        }
        return this.reservationvoitures;
    }

}
